function SpriteSheetToolshed(  ) {  
};

/**
Crea un nuevo objeto createjs.SpriteSheet con una unica animacion.
@param {Image} image - Imagen a usar como sprite sheet.
*/
SpriteSheetToolshed.prototype.createSingleAnimationSpriteSheet = function(image , frameW , frameH , frameRX , frameRY ,
                                                          animationInitFrame , animationEndFrame , loop , animationSpeedFactor) {
    var spriteSheet = new createjs.SpriteSheet({
        //image to use
        images: [image],
        //width, height & registration point of each sprite
        frames: { width: frameW, height: frameH, regX: frameRX, regY: frameRY }, 
        // To slow down the animation loop of the sprite, we set the frequency to 4 to slow down by a 4x factor
        animations: {
            walk: [animationInitFrame, animationEndFrame, loop, animationSpeedFactor]
        }
    });
    
    return spriteSheet;
};//createSingleAnimationSpriteSheet

/**
Voltea un sprite sheet de forma horizontal.
@param {createjs.SpriteSheet} ss - SpriteSheet a voltear.
*/
SpriteSheetToolshed.prototype.flipHorizontally = function(ss) {
    // to save file size, the loaded sprite sheet only includes left facing animations
    // we could flip the display objects with scaleX=-1, but this is expensive in most browsers
    // instead, we generate a new sprite sheet which includes the flipped animations
    createjs.SpriteSheetUtils.addFlippedFrames(ss, true, false, false);
}//flipHorizontally
